package com.byzk.p2p.admin.order.dao;

import java.util.List;

import com.byzk.p2p.admin.borrow.dto.Borrow;
import com.byzk.p2p.admin.order.dto.TenderAuto;
import com.byzk.p2p.admin.order.vo.TenderAutoVo;
import com.byzk.p2p.admin.order.vo.TenderOrderVo;

public interface TenderAutoDao {

	public Integer delete(Integer id);

	public Integer insert(TenderAuto record);

	public Integer update(TenderAuto record);

	public TenderAuto selectByPrimaryKey(Integer id);

	public List<TenderAutoVo> list(TenderAutoVo record);

	public Integer count(TenderAutoVo record);

	public List<TenderAuto> autoList(Borrow borrow);
	
	public TenderOrderVo selectByUserId(Integer userId);
	
	public List<TenderAuto> getOpenStatusTender();
	
}